package com.ytzl.service;

import com.ytzl.dao.ItripUserDao;
import com.ytzl.pojo.ItripUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: init
 * @Date: 2021/7/15 16:31
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private ItripUserDao itripUserDao;

    @Override
    public ItripUser queryById(long id) {
        return itripUserDao.selectByPrimaryKey(id);
    }
}
